﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DTcms.Common;

namespace DTcms.Web.admin.dialog
{
    public partial class dialog_stoneorderline : Web.UI.ManagePage
    {
        public string lineid = "";
        public string[] line = new string[14];
        protected void Page_Load(object sender, EventArgs e)
        {
            lineid = DTRequest.GetQueryString("orline");

            if (!IsPostBack) {
                BLL.stone_ordersline bll = new BLL.stone_ordersline();
                if (lineid + "" != "") {
                    Model.stone_ordersline model= bll.GetModel(new Guid(lineid));
                    if (model != null) {
                        //line[0]=model.orderNo;

                        line[0] = model.goods_no;
                        line[1] = model.goods_title;
                        line[2] = model.img_url;
                        line[3] = model.goods_price.ToString();
                        line[4] = model.real_price.ToString();
                        line[5] = model.quantity.ToString();
                        line[6] = model.unit;
                        line[7] = model.Long;
                        line[8] = model.wide;
                        line[9] = model.high;
                        line[10] = model.model;
                        line[11] = model.thickness.ToString();
                        line[12] = model.square.ToString();
                        line[13] = model.express_fee.ToString();
                    }
                }
                
            }
        }
       
    }
}